package main

import (
	"log"
	"net/http"
	_ "yanwc.gokit/user_svc/common"
	_ "yanwc.gokit/user_svc/transports"
)

// Transports expose the service to the network. In this first example we utilize JSON over HTTP.
func main() {
	//svc := stringService{}
	/*
	uppercaseHandler := httptransport.NewServer(
		makeUppercaseEndpoint(svc),
		decodeUppercaseRequest,
		encodeResponse,
	)

	countHandler := httptransport.NewServer(
		makeCountEndpoint(svc),
		decodeCountRequest,
		encodeResponse,
	)

	http.Handle("/uppercase", uppercaseHandler)
	http.Handle("/count", countHandler)
	*/
	log.Fatal(http.ListenAndServe(":8080", nil))

}